package com.ruoyi.project.stop.service.impl;


import com.ruoyi.common.mqtts.MqttServerEntity;

import com.ruoyi.project.stop.mapper.MqttServerMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * MQTT服务器Service业务层处理
 *
 * @author ruoyi
 * @date 2023-07-04
 */
@Service
public class MqttServerServiceImpl
{
    @Autowired
    private MqttServerMapper mqttServerMapper;

    public List<MqttServerEntity> getMqttServerList() {
        List<MqttServerEntity> list = mqttServerMapper.selectMqttAll();
        return list;
    }
}
